package com.yangcangclub.commons.annotation;


public enum TimeEnum {

    MINUTE(60,"1分钟") ,
    HOUR(60*60,"1小时") ,
    DAY(60*60*24,"1天") ;

    TimeEnum(int seconds,String desc) {
        this.seconds = seconds;
        this.desc = desc;
    }

    private int seconds;
    private String desc;
    public int getSeconds() {
        return seconds;
    }
    public String getDesc() {
        return desc;
    }


}